﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Diablo3.Engine.Property
{
    /// <summary>
    /// 面板伤害
    /// </summary>
    public class ShowDamage : ItemsProperty, IAffecteShowDamage
    {
        public ShowDamage() { }

        public ShowDamage(Double value)
        {
            Value = value;
        }

        /// <summary>
        /// 面板伤害值
        /// </summary>
        public Double Value { get; set; }

        public override string Des
        {
            get { return String.Format("{0} 面板伤害", Value.ToString("F1")); }
        }

        #region IAffecteShowDamage 成员

        double IAffecteShowDamage.GetShowDamage()
        {
            return Value;
        }

        #endregion
    }
}
